<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateAkbusAttendanceMachineTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('akbus_attendance_machine', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->string('number')->nullable()->comment('车牌号');
            $table->string('work_number')->nullable()->comment('司机');
            $table->string('name')->nullable()->comment('司机');
            $table->string('department')->nullable()->comment('司机');
            $table->string('office')->nullable()->comment('司机');
            $table->dateTime('sign_time')->nullable()->comment('实签时间');
            $table->string('week')->nullable()->comment('zhunwu');
            $table->string('type')->nullable()->comment('zhunwu');
            $table->string('remark')->nullable()->comment('zhunwu');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('akbus_attendance_machine');
    }
}
